<?php
class faq extends db_table {
	/**
	 * Faq ID
	 *
	 * @var db_field
	 */
	public $faq_id;
	/**
	 * Name of user, whos added this question
	 *
	 * @var db_field
	 */
	public $faq_name;
	/**
	 * Email of user, whos added this question
	 *
	 * @var db_field
	 */
	public $faq_email;
	/**
	 * Subject of question
	 *
	 * @var db_field
	 */
	public $faq_subject;
	/**
	 * Date when the question was added
	 *
	 * @var db_field
	 */
	public $faq_date;
	/**
	 * Option of visibility for users
	 *
	 * @var db_field
	 */
	public $faq_status;

	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}
	
	public static function status_private() {
		return "private";
	}
	
	public static function status_public() {
		return "public";
	}
	
	public static function status_featured() {
		return "featured";
	}
}
?>